// 广告场景数据
export const adscenedata: string[] = [
    '全部', 'H5页面/启动页', '移动app界面', 'banner', 'H5长图', 'icon图标', '网页界面', '邀请函', '全套app|网页界面', 'UI动效'
];

export const adscene: string[] = [
    'H5页面/启动页', '移动app界面', 'banner', 'H5长图', 'icon图标', '网页界面', '邀请函', '全套app|网页界面', 'UI动效'
]

// 广告图片路径
export const adimagePaths: string[] = [
    'https://js.ibaotu.com/act/24/07/18/6698890e7f987.jpg',
    'https://js.ibaotu.com/act/24/07/18/6698890e795ed.jpg',
    'https://js.ibaotu.com/act/24/07/18/669889070786a.jpg',
    'https://js.ibaotu.com/act/24/07/18/6698890e7b5b0.jpg',
    'https://js.ibaotu.com/act/24/07/18/6698890ecefdf.jpg'
];

// 广告排序数据
export const adsortdata: string[] = [
    '综合排序', '热门下载', '最新上传', '昨日热图'
];

interface InitialOption {
    id: string;
    label: string;
    isSelected: boolean;
}
 
export const initialOptions: InitialOption[] = [
    { id: 'selfProduced', label: '包图自产', isSelected: false },
    { id: 'enterpriseExclusive', label: '企业专享', isSelected: false }
];

// 广告数据类型
interface AdData {
    id: number;
    name: string;
    flag: boolean;
    scene: string;
    image: string;
}

export const alladData: AdData[] = Array.from({ length: 81 }, (_, i) => ({
    id: i + 1,
    name: `UI设计 ${i + 1}`,
    flag: i % 3 === 0,
    scene: adscene[Math.floor(Math.random() * adscene.length)],
    image: adimagePaths[Math.floor(Math.random() * adimagePaths.length)]
}));
